package demo3;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: mac
 * Date: 2022-09-06
 * Time: 18:35
 */
interface IA {
     int A = 10;
     void funcA();//public abstract
}
interface IB {
    void funcB();
}
abstract class BClass {

}
class AClass extends BClass implements IA,IB{
    @Override
    public void funcA() {
        System.out.println("A::funcA()");
        System.out.println(A);
    }

    @Override
    public void funcB() {
        System.out.println("A::funcB()");
    }
}
public class Test2 {
    public static void main(String[] args) {
        final int a = 10;
        System.out.println(a);
    }
}
